home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Resource Library: Multimedia
/
Resource Library: Multimedia.iso
/
hypertxt
/
msdos
/
hydos10
/
path
< prev
next >
Wrap
Text File
|
1991-04-21
|
944b
|
22 lines
PATH
Sets the path of directories that DOS will search for programs
See also <APPEND>
The current directory is always searched first.
COMMAND TYPE: Internal VERSION: 2.0 and up
USE: PATH [[d:]path[[;[d:] path]...]]]
d: path; d: path;... define the paths that DOS will search for
commands and programs. The paths are separated by ";" and the maximum
length is 127 characters.
PATH with no arguments will report the current path.
PATH ; will delete the current path.
COMMAND.COM uses PATH to search for commands and programs. The current
directory is always searched first, followed by the directories in the PATH
command, in the order specified. Executable files have extensions .COM,
.EXE, and .BAT . Within each directory the search order is COM, EXE, BAT.
The path is stored in the environment string PATH.